﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Utilities
{
    public class CommonEnum
    {

    }
    /// <summary>
    /// order_info表的state状态
    /// </summary>
    public enum OrderState
    {
        //0-未支付 1-已支付 2-关闭 3-已使用
        /// <summary>
        /// 未支付
        /// </summary>
        Not_Pay = 0,
        /// <summary>
        /// 已支付
        /// </summary>
        Paid = 1,
        /// <summary>
        /// 关闭
        /// </summary>
        Closed = 2,
        /// <summary>
        /// 已使用
        /// </summary>
        Used = 3,
        /// <summary>
        /// 正在检测
        /// </summary>
        Checking = 4,
        /// <summary>
        /// 机构提出已检测
        /// </summary>
        Finish = 5,
        /// <summary>
        /// 已评价
        /// </summary>
        Commented = 6,
        /// <summary>
        /// 提出申请退款
        /// </summary>
        ApplyRefund = 7,
        /// <summary>
        /// 卖家同意退款
        /// </summary>
        SellerAgreeRefund = 8,
        /// <summary>
        /// 卖家拒绝退款,进入协商
        /// </summary>
        SellerRefuseRefund = 9,
        /// <summary>
        /// 审核通过返回买家
        /// </summary>
        ReturnBuyer = 10,
        /// <summary>
        /// 审核通过返回卖家
        /// </summary>
        ReturnSeller = 11,
    }
    /// <summary>
    /// 支付状态
    /// </summary>
    public enum PayState
    {
        Not_Pay = 0,
        Pay_Finish = 1,
        Pay_Fial = 2
    }
    /// <summary>
    /// 0-等待专家响应 1-接受 2-拒绝 3-等待买家支付（2天有效期） 4-支付完成 5-专家提交已见面 6-订单完成 7-订单关闭
    /// </summary>
    public enum OrderStateExpert
    {
        /// <summary>
        /// 等待专家响应
        /// </summary>
        Wait_Expert = 0,
        /// <summary>
        /// 专家接受见面
        /// </summary>
        Accept = 1,
        /// <summary>
        /// 专家拒绝见面
        /// </summary>
        Refused = 2,
        /// <summary>
        /// 等待买家支付（2天有效期）
        /// </summary>
        Wait_Pay = 3,
        /// <summary>
        /// 支付完成
        /// </summary>
        Paid = 4,
        /// <summary>
        /// 专家提交已见面
        /// </summary>
        Met = 5,
        /// <summary>
        /// 订单完成
        /// </summary>
        OrderFinish = 6,
        /// <summary>
        /// 订单关闭
        /// </summary>
        Closed = 7,
    }
}
